package com.crud.demo1.demos.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangNing
 * @since 2025-02-26
 */
@Data
@TableName("t_project")
@ApiModel(value = "TProject对象", description = "")
public class TProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("工程编号")
    @TableId("Project_id")
    @NotBlank(message = "projectId不能为空")
    private String projectId;

    @NotBlank(message = "Project_name不能为空")
    @ApiModelProperty("工程名称")
    @TableField("Project_name")
    private String projectName;

    @ApiModelProperty("法人代表")
    @TableField("Deputy_name")
    private String deputyName;

    @ApiModelProperty("电话")
    @TableField("Telephone")
    private String telephone;

    @ApiModelProperty("地址")
    @TableField("Addr")
    private String addr;


}
